unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, VPDFDoc;

type
  TForm1 = class(TForm)
    VPDF1: TVPDF;
    Btnx_1: TButton;
    procedure Btnx_1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

uses
  Class_KzUtils;

{$R *.dfm}

procedure TForm1.Btnx_1Click(Sender: TObject);
begin
  Self.VPDF1.FileName:='helloworld.pdf';
  Self.VPDF1.LoadFromFile('nbyz042.pdf');
  Self.VPDF1.BeginDoc(True);
  Self.VPDF1.EndDoc;
end;

end.
